If the popup says “Ignore items in:”, items in these folders will be ignored in the search. If it says “Restrict search to:”, items not in these folders will be ignored. These apply only to the folders that are marked with a √. Double-click folder to toggle the mark on and off.